﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Tetris
{
    [Serializable]
    public class Square : Shape
    {
        //number of rotation state
        public static int NbState = 1;

        /// <summary>
        /// Basic constructor used when we deserialize
        /// </summary>
        public Square() : base()
        {
            points.Clear();
        }

        /// <summary>
        /// Basic constructor
        /// </summary>
        public Square(bool test) : base()
        {
            points[0].X=3;
            points[0].Y=0;
            points[1].X=4;
            points[1].Y=0;
            points[2].X=3;
            points[2].Y=1;
            points[3].X=4;
            points[3].Y=1;
            state = 1;
        }

    }
}
